﻿//using Microsoft.Vbe.Interop;
using NetOffice.VBIDEApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 枸杞VBE插件
{
    internal enum 控件类型
    {
        按钮 = NetOffice.OfficeApi.Enums.MsoControlType.msoControlButton,// Microsoft.Office.Core.MsoControlType.msoControlButton,
        菜单 = NetOffice.OfficeApi.Enums.MsoControlType.msoControlPopup
    }

    internal enum 模块类型枚举
    {
        ActiveX设计器 = NetOffice.VBIDEApi.Enums.vbext_ComponentType.vbext_ct_ActiveXDesigner,
        类模块 = NetOffice.VBIDEApi.Enums.vbext_ComponentType.vbext_ct_ClassModule,
        文档模块 = NetOffice.VBIDEApi.Enums.vbext_ComponentType.vbext_ct_Document,
        窗体模块 = NetOffice.VBIDEApi.Enums.vbext_ComponentType.vbext_ct_MSForm,
        标准模块 = NetOffice.VBIDEApi.Enums.vbext_ComponentType.vbext_ct_StdModule
    }

    internal enum 过程类型枚举
    {
        取值 = NetOffice.VBIDEApi.Enums.vbext_ProcKind.vbext_pk_Get,
        赋值 = NetOffice.VBIDEApi.Enums.vbext_ProcKind.vbext_pk_Let,
        对象赋值 = NetOffice.VBIDEApi.Enums.vbext_ProcKind.vbext_pk_Set,
        过程 = NetOffice.VBIDEApi.Enums.vbext_ProcKind.vbext_pk_Proc
    }
}